package com.yf.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 活动实体
 * 表名 campaign
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:57:31 CST 2018
 */
@Setter
@Getter
public class CampaignEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //表ID
    private Long id;
    //活动名称
    private String name;
    //活动描述
    private String info;
    //创建时间
    private Date createTime;
    //开始时间
    private Date startTime;
    //结束时间
    private Date endTime;
    //有效时间
    private Date hour;
    //IMG-缩略图
    private String minImg;
    //IMG-展示图
    private String middleImg;
    //IMG-详情页
    private String bigImg;
    //零售价
    private BigDecimal price;
    //活动价
    private BigDecimal retailPrice;
    //ENUM-选择类型:'组合套餐','自由选择'
    private Integer meal;
    //ENUM-活动类型:'拼团','秒杀','抽奖'
    private Integer type;

}
